from celery import shared_task
from celery_app.celery import logger

@shared_task(bind=True)
def push_template_message(self):
    for i in range(10):
        logger.info(f"定时任务开始执行（任务ID:{self.request.id}）,i={i}")
